@extends('admin.layout.main')

@section('content')
    <div class="breadcrumbs ace-save-state" id="breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <i class="ace-icon fa fa-home home-icon"></i>
                <a href="#">首页</a>
            </li>
            <li class="active"><a href="#">系统管理</a></li>
            <li class="active"><a href="/admin/system/create">系统设置</a></li>
        </ul><!-- /.breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
		<span class="input-icon">
		<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
			<i class="ace-icon fa fa-search nav-search-icon"></i>
		</span>
            </form>
        </div><!-- /.nav-search -->
    </div>

    <div class="row">
        <div class="col-xs-12">
        	<div class="clearfix">
				<div class="pull-right tableTools-container"></div>
			</div>
			<div class="table-header">
				<a href="#">
				<i class="menu-icon glyphicon glyphicon-tags orange"></i>
				<span class="menu-text orange"> 网站系统设置 </span>
				</a>
			</div>
            <!-- PAGE CONTENT BEGINS -->
            <form class="form-horizontal" role="form" action="/admin/system" method="post" enctype="multipart/form-data">
                <div>
                	{{csrf_field()}}
						<table id="dynamic-table" class="table table-striped table-bordered table-hover">
							<tbody>
								<tr>
									<td class="center">
										<span >* 网站logo</span>
									</td>
									<td>
										<img src="{{$data['logo']}}" width="200" height="100">
									</td>
								</tr>

								<tr>
									<td class="center">
										<span>* 网站logo上传</span>
									</td>
									<td>
										<input type="file" name="logo">
									</td>
								</tr>
                                <tr>
                                    <td class="center">
                                        <span >* APP logo</span>
                                    </td>
                                    <td>
                                        <img src="{{$data['app_logo']}}" width="200" height="100">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="center">
                                        <span>* APP logo上传</span>
                                    </td>
                                    <td>
                                        <input type="file" name="app_logo">
                                    </td>
                                </tr>
								<tr>
									<td class="center">
										<span>* 网站网址</span>
									</td>
									<td>
										<input type="text" name="url" class="col-xs-10 col-sm-5" value="{{$data['url']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 网站标题</span>
									</td>
									<td>
										<input type="text" name="title" class="col-xs-10 col-sm-5" value="{{$data['title']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* APP 名称</span>
									</td>
									<td>
										<input type="text" name="app_name" class="col-xs-10 col-sm-5" value="{{$data['app_name']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 网站关键字</span>
									</td>
									<td>
										<input type="text" name="keyword" class="col-xs-10 col-sm-5" value="{{$data['keyword']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 网站虚拟币英文标示</span>
									</td>
									<td>
										<input type="text" name="mark_en" class="col-xs-10 col-sm-5" value="{{$data['mark_en']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 网站虚拟币代称</span>
									</td>
									<td>
										<input type="text" name="name" class="col-xs-10 col-sm-5" value="{{$data['name']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 虚拟币对人民币兑换</span>
									</td>
									<td>
										<input type="text" name="exchange" class="col-xs-10 col-sm-5" value="{{$data['exchange']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 网站描述</span>
									</td>
									<td>
										<input type="text" name="desc" class="col-xs-10 col-sm-5" value="{{$data['desc']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 版权信息</span>
									</td>
									<td>
										<input type="text" name="copyright" class="col-xs-10 col-sm-5" value="{{$data['copyright']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 备案信息</span>
									</td>
									<td>
										<input type="text" name="keep_record" class="col-xs-10 col-sm-5" value="{{$data['keep_record']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 地址</span>
									</td>
									<td>
										<input type="text" name="address" class="col-xs-10 col-sm-5" value="{{$data['address']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 新币申请表上传</span>
									</td>
									<td>
										<input type="file" name="path">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 客服qq</span>
									</td>
									<td>
										<input type="text" name="qq" value="{{$data['qq']}}">
									</td>
								</tr>
								<tr>
									<td class="center">
										<span>* 客服电话</span>
									</td>
									<td>
										<input type="text" name="tel" value="{{$data['tel']}}">
									</td>
								</tr>
								<tr>
									<td>
										<span></span>
									</td>
									<td>
										<button class="btn btn-info" type="submit">
				                            <i class="ace-icon fa fa-check bigger-110"></i>
				                            提交
				                        </button>

				                        &nbsp; &nbsp; &nbsp;
				                        <a href="javascript:history.go(-1);" class="btn" type="reset">
				                            <i class="ace-icon fa fa-undo bigger-110"></i>
				                            返回
				                        </a>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
            </form>
        </div>
    </div>
    </div><!-- /.main-content -->
@endsection
